package com.lb.service;

import java.util.List;
import com.lb.bean.User;
import com.lb.bean.Admin;

public interface AdminService {
	
 public Admin loginvalid(String name,String password) throws Exception;
 public List<User> findAllUser() throws Exception;
 public List<User> findUserByUserId(int userId) throws Exception;
 public User  findUserByuserId(int userId)throws Exception;
 public void delete(User user);
}
